import { defineConfig } from 'webpack';

export default defineConfig({
  module: {
    rules: [
      {
        test: /\.scss$/,
        use: [
          'style-loader',
          'css-loader',
          {
            loader: 'sass-loader',
            options: {
              sassOptions: {
                quietDeps: true, // 抑制警告
              },
            },
          },
        ],
      },
    ],
    // plugins: [
    //   new webpack.DefinePlugin({
    //     'process.env.NODE_ENV': JSON.stringify('production'),
    //   }),
    // ]
  },
});